﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Quanlynhasach;
using System.Diagnostics;

namespace Quanlynhasach
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void đăngXuấtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void thayĐổiQuyĐịnhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_thaydoiquydinh f = new frm_thaydoiquydinh();
           // f.MdiParent = this;
            f.Show();
        }

       

        private void thểLoạiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_TheLoaiSach f = new frm_TheLoaiSach();
           // f.MdiParent = this;
            f.Show();
        }

   

        private void tácGỉaToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            frm_TacGia f = new frm_TacGia();
            //f.MdiParent = this;
            f.Show();

        }

        private void traCứuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_TraCuu f = new frm_TraCuu();
            //f.MdiParent = this;
            f.Show();

        }

        private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_KhachHang f = new frm_KhachHang();
            //f.MdiParent = this;
            f.Show();
        }

        private void danhSáchSÁCHToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_DanhMucSach f = new frm_DanhMucSach();
            //f.MdiParent = this;
            f.Show();
        }

       

       
        private void phiếuBánSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_PhieuBanSach f = new frm_PhieuBanSach();
           
            f.Show();
        }

        private void phiếuNhậpSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_PhieuNhapSach f = new frm_PhieuNhapSach();

            f.Show();
        }

        private void phiếuThuTiềnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_PhieuThuTien f = new frm_PhieuThuTien();
            f.Show();
        }

        private void lậpBáoCáoThángToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BaoCaoTon f = new BaoCaoTon();
          
            f.Show();
        }

        private void báoCáoCôngNợToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BaoCaoCongNo f =new BaoCaoCongNo();
            f.Show();
        }

        
        
        
        

      
    }
}
